package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * table --> su_order
 * remarks --> 供应商订单表
 * columns --> batchNo,uid,fbaDepotNo,fbaPostcode,destinationCountryId,destinationCountry,chargedPrice,totalFee,chargedWeight,volumeSum,weightSum,singleOperatFee,singleDeclareFee,zgFee,attachFee,supplierCode,routeNo,routeName,deliveryNo,trackingNo,status,iscog,backBoxRemark,createTime,updateTime
 */
@ApiModel(value = "su_order",description = "供应商订单表")
public class SuOrder implements Serializable {
    /**
     * batchNo
     * 批次号
     */
    @ApiModelProperty(value="batchNo",name="批次号")
    private String batchNo;

    /**
     * uid
     * 用户ID
     */
    @ApiModelProperty(value="uid",name="用户ID")
    private Long uid;

    /**
     * fbaDepotNo
     * FBA仓库编码
     */
    @ApiModelProperty(value="fbaDepotNo",name="FBA仓库编码")
    private String fbaDepotNo;

    /**
     * fbaPostcode
     * FBA邮编
     */
    @ApiModelProperty(value="fbaPostcode",name="FBA邮编")
    private String fbaPostcode;

    /**
     * destinationCountryId
     * 目的国ID
     */
    @ApiModelProperty(value="destinationCountryId",name="目的国ID")
    private Long destinationCountryId;

    /**
     * destinationCountry
     * 目的国名称
     */
    @ApiModelProperty(value="destinationCountry",name="目的国名称")
    private String destinationCountry;

    /**
     * chargedPrice
     * 计费单价(通过重量所在区间的单价得来)
     */
    @ApiModelProperty(value="chargedPrice",name="计费单价(通过重量所在区间的单价得来)")
    private BigDecimal chargedPrice;

    /**
     * totalFee
     * 总价
     */
    @ApiModelProperty(value="totalFee",name="总价")
    private BigDecimal totalFee;

    /**
     * chargedWeight
     * 计费重量(如果总材积大于重量，这里就保存材积)
     */
    @ApiModelProperty(value="chargedWeight",name="计费重量(如果总材积大于重量，这里就保存材积)")
    private BigDecimal chargedWeight;

    /**
     * volumeSum
     * 总材积
     */
    @ApiModelProperty(value="volumeSum",name="总材积")
    private BigDecimal volumeSum;

    /**
     * weightSum
     * 总重
     */
    @ApiModelProperty(value="weightSum",name="总重")
    private BigDecimal weightSum;

    /**
     * singleOperatFee
     * 单票操作费
     */
    @ApiModelProperty(value="singleOperatFee",name="单票操作费")
    private BigDecimal singleOperatFee;

    /**
     * singleDeclareFee
     * 单票报关费
     */
    @ApiModelProperty(value="singleDeclareFee",name="单票报关费")
    private BigDecimal singleDeclareFee;

    /**
     * zgFee
     * 中港费
     */
    @ApiModelProperty(value="zgFee",name="中港费")
    private BigDecimal zgFee;

    /**
     * attachFee
     * 附加费(子箱单的附加费不一致，取最高)
     */
    @ApiModelProperty(value="attachFee",name="附加费(子箱单的附加费不一致，取最高)")
    private BigDecimal attachFee;

    /**
     * supplierCode
     * 供应商编码
     */
    @ApiModelProperty(value="supplierCode",name="供应商编码")
    private String supplierCode;

    /**
     * routeNo
     * 供应商路线编码
     */
    @ApiModelProperty(value="routeNo",name="供应商路线编码")
    private String routeNo;

    /**
     * routeName
     * 供应商路线名称
     */
    @ApiModelProperty(value="routeName",name="供应商路线名称")
    private String routeName;

    /**
     * deliveryNo
     * 提单号
     */
    @ApiModelProperty(value="deliveryNo",name="提单号")
    private String deliveryNo;

    /**
     * trackingNo
     * 转单号
     */
    @ApiModelProperty(value="trackingNo",name="转单号")
    private String trackingNo;

    /**
     * status
     * 订单状态(5=货物入仓 6=出货)
     */
    @ApiModelProperty(value="status",name="订单状态(5=货物入仓 6=出货)")
    private Integer status;

    /**
     * iscog
     * 是否单独报关(1=是 0=否)
     */
    @ApiModelProperty(value="iscog",name="是否单独报关(1=是 0=否)")
    private Integer iscog;

    /**
     * backBoxRemark
     * 回传箱单备注
     */
    @ApiModelProperty(value="backBoxRemark",name="回传箱单备注")
    private String backBoxRemark;

    /**
     * createTime
     * 下单时间
     */
    @ApiModelProperty(value="createTime",name="下单时间")
    private Date createTime;

    /**
     * updateTime
     * 更新时间
     */
    @ApiModelProperty(value="updateTime",name="更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo == null ? null : batchNo.trim();
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getFbaDepotNo() {
        return fbaDepotNo;
    }

    public void setFbaDepotNo(String fbaDepotNo) {
        this.fbaDepotNo = fbaDepotNo == null ? null : fbaDepotNo.trim();
    }

    public String getFbaPostcode() {
        return fbaPostcode;
    }

    public void setFbaPostcode(String fbaPostcode) {
        this.fbaPostcode = fbaPostcode == null ? null : fbaPostcode.trim();
    }

    public Long getDestinationCountryId() {
        return destinationCountryId;
    }

    public void setDestinationCountryId(Long destinationCountryId) {
        this.destinationCountryId = destinationCountryId;
    }

    public String getDestinationCountry() {
        return destinationCountry;
    }

    public void setDestinationCountry(String destinationCountry) {
        this.destinationCountry = destinationCountry == null ? null : destinationCountry.trim();
    }

    public BigDecimal getChargedPrice() {
        return chargedPrice;
    }

    public void setChargedPrice(BigDecimal chargedPrice) {
        this.chargedPrice = chargedPrice;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public BigDecimal getChargedWeight() {
        return chargedWeight;
    }

    public void setChargedWeight(BigDecimal chargedWeight) {
        this.chargedWeight = chargedWeight;
    }

    public BigDecimal getVolumeSum() {
        return volumeSum;
    }

    public void setVolumeSum(BigDecimal volumeSum) {
        this.volumeSum = volumeSum;
    }

    public BigDecimal getWeightSum() {
        return weightSum;
    }

    public void setWeightSum(BigDecimal weightSum) {
        this.weightSum = weightSum;
    }

    public BigDecimal getSingleOperatFee() {
        return singleOperatFee;
    }

    public void setSingleOperatFee(BigDecimal singleOperatFee) {
        this.singleOperatFee = singleOperatFee;
    }

    public BigDecimal getSingleDeclareFee() {
        return singleDeclareFee;
    }

    public void setSingleDeclareFee(BigDecimal singleDeclareFee) {
        this.singleDeclareFee = singleDeclareFee;
    }

    public BigDecimal getZgFee() {
        return zgFee;
    }

    public void setZgFee(BigDecimal zgFee) {
        this.zgFee = zgFee;
    }

    public BigDecimal getAttachFee() {
        return attachFee;
    }

    public void setAttachFee(BigDecimal attachFee) {
        this.attachFee = attachFee;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode == null ? null : supplierCode.trim();
    }

    public String getRouteNo() {
        return routeNo;
    }

    public void setRouteNo(String routeNo) {
        this.routeNo = routeNo == null ? null : routeNo.trim();
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName == null ? null : routeName.trim();
    }

    public String getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo == null ? null : deliveryNo.trim();
    }

    public String getTrackingNo() {
        return trackingNo;
    }

    public void setTrackingNo(String trackingNo) {
        this.trackingNo = trackingNo == null ? null : trackingNo.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIscog() {
        return iscog;
    }

    public void setIscog(Integer iscog) {
        this.iscog = iscog;
    }

    public String getBackBoxRemark() {
        return backBoxRemark;
    }

    public void setBackBoxRemark(String backBoxRemark) {
        this.backBoxRemark = backBoxRemark == null ? null : backBoxRemark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", batchNo=").append(batchNo);
        sb.append(", uid=").append(uid);
        sb.append(", fbaDepotNo=").append(fbaDepotNo);
        sb.append(", fbaPostcode=").append(fbaPostcode);
        sb.append(", destinationCountryId=").append(destinationCountryId);
        sb.append(", destinationCountry=").append(destinationCountry);
        sb.append(", chargedPrice=").append(chargedPrice);
        sb.append(", totalFee=").append(totalFee);
        sb.append(", chargedWeight=").append(chargedWeight);
        sb.append(", volumeSum=").append(volumeSum);
        sb.append(", weightSum=").append(weightSum);
        sb.append(", singleOperatFee=").append(singleOperatFee);
        sb.append(", singleDeclareFee=").append(singleDeclareFee);
        sb.append(", zgFee=").append(zgFee);
        sb.append(", attachFee=").append(attachFee);
        sb.append(", supplierCode=").append(supplierCode);
        sb.append(", routeNo=").append(routeNo);
        sb.append(", routeName=").append(routeName);
        sb.append(", deliveryNo=").append(deliveryNo);
        sb.append(", trackingNo=").append(trackingNo);
        sb.append(", status=").append(status);
        sb.append(", iscog=").append(iscog);
        sb.append(", backBoxRemark=").append(backBoxRemark);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}